package com.midian.service.sys;

import java.util.List;

import com.midian.common.exception.BizException;
import com.midian.model.sys.SysConf;
import com.midian.service.common.IBaseService;

/**
 * 系统配置业务
 * @author Mengfh
 *
 */
public interface ISysConfService extends IBaseService<SysConf> {
	/**文本框：1*/
	public static final Integer SYS_CONF_TYPE_INPUT = 1;
	/**多行文本框：2*/
	public static final Integer SYS_CONF_TYPE_TEXTAREA = 2;
	/**文本编辑器：3*/
	public static final Integer SYS_CONF_TYPE_EDITOR = 3;
	

	/**
	 * 条件获取全部系统配置列表
	 * @return
	 */
	public List<SysConf> showAllSysConfList(String code) throws BizException;
	
	/**
	 * 根据唯一码获取系统配置
	 * @param code 唯一码
	 * @return
	 * @throws BizException
	 */
	public SysConf getSysConfByCode(String code) throws BizException;
}
